<?php include("../Service/WebClass/plan/duplicateKeyClass.php");
$Entity = new DupKey;
$Entity->MyTask();
?>	
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>除外ワード一覧</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script language="JavaScript" src="../js/common.js" type="text/javascript"></script>
<script type="text/javascript">
	function showDelete(){
		document.getElementById("mainform").submit();
	}
</script>

</head>
<body bgcolor="#F4FFE4">
<?php include("../head.php") ?> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">

 <tr>
    <td width="165" valign="top" bgcolor="#5C743D"><?php include("../menu.php");?></td>
    <td width="813" colspan="2" align="left" valign="top">
      
<form name="mainform" id="mainform" method="post">
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="tbl where">
	<tr>
		<td>媒体
<select name="search_media_select" id="search_media_select" class="txBox">
			<?php echo $Entity->mediaList;?>
			  </select>
 				<script>
				document.getElementById("search_media_select").value = <?php echo $Entity->media; ?>;
				</script>	
&nbsp;&nbsp;			
 キャンペーン
<select name="search_campaign_select" id="search_campaign_select" class="txBox">
			<?php echo $Entity->campList;?>
			  </select>
 				<script>
				document.getElementById("search_campaign_select").value = <?php echo $Entity->camp; ?>;
				</script>
&nbsp;&nbsp;</td>

	</tr>
	<tr>
		<td>除外ワード
		  <input name="search_text2" size="35" maxlength="100" value="<?php echo $Entity->keyName; ?>" class="txBox" type="text" />
		  &nbsp;&nbsp;			<input type="submit" class="btn search" value="">
		</td>
	</tr>
</table>
<br>

<table width="100%" border="0" cellpadding="2" cellspacing="0">
	<tr>
		<td align="left">
		</td>

		<td align="right"><label for="show_deleted"></label>
		  <label for="show_deleted"></label>
          <input name="show_deleted" type="checkbox" id="show_deleted" value="1" <?php if($Entity->show_deleted==1) echo checked; ?> onclick="showDelete();" />
          <label for="show_deleted">削除済みも表示</label>
          &nbsp;&nbsp;&nbsp;&nbsp;
<input class="btn refresh" onclick="document.location.reload();" type="button">	
		</td>
	</tr>
</table>
<?php $Entity->getSelectSqlForExclude() ?>
</form>			<!-- end of main area -->
</td>
 </tr>
 </table>
 <?php include("../foot.php");?>
</body>
</html>
